/*************************************************************
 * Title: Result.java
 * Description: 
 * Author: Huang Shaobin
 * Email: shaobin.software@gmail.com
 * CreateTime: Feb 21, 2013 3:31:59 PM
 ************************************************************/
package snow.core.domain;

import java.io.Serializable;

/**
 *
 */
@SuppressWarnings("serial")
public class Result implements Serializable {

	private String code;
	private boolean success;
	private Object message;

	public Result(boolean success, String code, Object message) {
		this.code = code;
		this.success = success;
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public Object getMessage() {
		return message;
	}

	public boolean isSuccess() {
		return this.success;
	}

	public void setCode(String code) {
	}

	public void setMessage(Object message) {
	}

	public void setSuccess(boolean success) {
	}

}
